<template>
  <el-dialog
    title="播放"
    :visible.sync="isshow"
    width="400px"
  >
    <div>
      <audio :src="audioSrc" controls></audio>
    </div>
  </el-dialog>
</template>
<script>
export default {
  name: 'musicPlay',
  data() {
    return {
      isshow: false,
      audioSrc: ''
    }
  },
  methods: {
    show(url) {
      this.audioSrc = url
      this.isshow = true
    }
  }
}

</script>


<style scoped lang="scss">

</style>
